<?php
/**
 * Created by PhpStorm.
 * User: UEWARE
 * Date: 2019-7-10
 * Time: 09:29:12
 */

$router->get('/', function () use ($router) {
    echo '欢迎来到微信端';
});

// 上传图片
$router->post('upload', 'UploadController@index');